    <script type="text/javascript" src="<?php echo base_url(); ?>data/js/jquery-ui-1.8.20.custom.min.js"></script>
    <link type="text/css" href="<?php echo base_url(); ?>data/css/ui-lightness/jquery-ui-1.8.20.custom.css" rel="stylesheet" />
    
    <script>
	$(function() {
		$( ".datepicker" ).datepicker();
	});
	</script>

<style type="text/css">

.adminTable {
    border-collapse: collapse;
    font-size: 12px;
    -moz-box-shadow:0 0 15px #999;
    -webkit-box-shadow:0 0 15px #999;
}

.adminTable thead {
    display: table-header-group;
    border: 1px solid black;
    vertical-align: middle;
    font-size: 12px;
    cursor: pointer;
    background: orange;
    color: white;
    text-align: center;
}

.adminTable thead th {
    border: 1px solid black;
}

.adminTable tfoot, .adminTable tbody, .adminTable td {
	background: #EEEEEE;
    border: 1px solid black;
}

</style>

    <title>Halaman Administrasi</title>
</head>

<body onload="getTime();">

<div id="container">
  <div id="header">
    <div id="logoHeader"></div>
    <div id="accountName">
    	<div id="accountInfo">
    	  <p><span id="date"></span>&nbsp;<span id="clock"></span></p>
          <br />
          <p>Welcome, <?php echo $nama_akun; ?></p>
        </div>
    </div>
  <br class="clearfloat"/>
  </div>
  <!-- end #header -->
  <div id="naviLink">
    <ul id="navUL">
    	<li><a href="<?php echo site_url('main/beranda');?>">Beranda</a></li>
    	<li><a href="<?php echo site_url('main/admin');?>">Admin</a></li>
    	<li><a href="<?php echo site_url('main/penjualan');?>">Penjualan</a></li>
    	<li><a href="<?php echo site_url('main/inventaris');?>">Inventaris</a></li>
        <li><a href="<?php echo site_url('main/pembelian');?>">Pembelian</a></li>
    	<li><a href="<?php echo site_url('main/log');?>">Log</a></li>
    </ul>
    <div id="divLogOut"><a href="<?php echo site_url('main/log_out');?>">Log Out</a></div>
  </div>
    
<?php
	// show user messages sent by controller
	echo output_msg($type = null);
?>

  <div id="mainContent">
  
  	<div id="contentInfo">
    	<div id="adminInfo">
        	<a href="<?php echo site_url('main/log');?>">Log</a>&nbsp;&nbsp;&nbsp;&#8250;&nbsp;&nbsp;&nbsp;<a>Hasil Filter</a>
        </div>
        <br class="clearfloat" />
    </div>
    
  	<br/>
    
    <?php
    
    if (empty($logs) && !isset($logs)){
        
        echo "<div id='hasilFilter'><p>Hasil Filter Tidak Tersedia</p></div>";        
        
    }
    Else{
    
    ?>
    
    <table class="adminTable">
        <thead>
          <tr>
            <th>Waktu</th>
            <th>Akun</th>
            <th>Aksi</th>
          </tr>
        </thead>
        
        <tbody>
          <?php foreach($logs as $log):?>
          <tr>
            <td><?php echo $log->time;?></td>
            <td><?php echo $log->acc_name;?></td>
            <td><?php echo $log->action;?></td>
          </tr>
          <?php endforeach;?>
        </tbody>
      </table>
      
    <?php } ?>
      
    <br />
    
    <div id="LogPagination"><?php echo $pagination ?></div>
    
    <br />
    <!-- end #mainContent -->
  </div>